create array from string with commas php

103

create array from string with commas php -

$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);

Comments

Submit
0 Comments